import { defHttp } from '/@/utils/http/axios';

enum Api {
  getNotifyList = '/admin-api/system/notify-message/my-page',
  getNotifyCount = '/admin-api/system/notify-message/get-unread-count',
}
/**
 * @description: 获取站内信
 */
export const getNotifyList = (params) => {
  return defHttp.get<any>({ url: Api.getNotifyList, params });
};
export const getNotifyCount = () => {
  return defHttp.get<any>({ url: Api.getNotifyCount });
};
